package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 商家入住申请记录表 商家入住申请信息记录表
 *
 * @author WeiZiDong
 */
@Table(name = "`ums_business_apply_record`")
@Data
@ApiModel("商家入住申请记录表商家入住申请信息记录表")
public class UmsBusinessApplyRecord implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "String")
    private String id;
    @Column(name = "`user_id`")
    @ApiModelProperty(value = "用户id", example = "String")
    private String userId;
    @Column(name = "`user_photo`")
    @ApiModelProperty(value = "用户头像", example = "String")
    private String userPhoto;
    @Column(name = "`nick_name`")
    @ApiModelProperty(value = "用户昵称", example = "String")
    private String nickName;
    @Column(name = "`user_phone`")
    @ApiModelProperty(value = "用户手机号", example = "String")
    private String userPhone;
    @Column(name = "`business_name`")
    @ApiModelProperty(value = "商家名称", example = "String")
    private String businessName;
    @Column(name = "`business_logo`")
    @ApiModelProperty(value = "商家logo", example = "String")
    private String businessLogo;
    @Column(name = "`business_contacts`")
    @ApiModelProperty(value = "商家联系人", example = "String")
    private String businessContacts;
    @Column(name = "`business_tel`")
    @ApiModelProperty(value = "商家联系电话", example = "String")
    private String businessTel;
    @Column(name = "`province`")
    @ApiModelProperty(value = "省份", example = "String")
    private String province;
    @Column(name = "`city`")
    @ApiModelProperty(value = "城市", example = "String")
    private String city;
    @Column(name = "`address`")
    @ApiModelProperty(value = "详细地址", example = "String")
    private String address;
    @Column(name = "`business_type`")
    @ApiModelProperty(value = "商家类型1-个人；2-企业；3-个体工商户", example = "1")
    private Integer businessType;
    @Column(name = "`business_apply_type`")
    @ApiModelProperty(value = "商家入驻类型1-供应商；2-花农；3-物流商家", example = "1")
    private Integer businessApplyType;
    @Column(name = "`main_product_type`")
    @ApiModelProperty(value = "主营产品存储json格式数据", example = )
    private  mainProductType;
    @Column(name = "`buiness_status`")
    @ApiModelProperty(value = "商家状态0-停用；1-可用", example = "1")
    private Integer buinessStatus;
    @Column(name = "`ID_photo`")
    @ApiModelProperty(value = "证件照", example = "String")
    private String idPhoto;
    @Column(name = "`base_photo`")
    @ApiModelProperty(value = "基地照", example = "String")
    private String basePhoto;
    @Column(name = "`environmental_photo`")
    @ApiModelProperty(value = "环境照", example = "String")
    private String environmentalPhoto;
    @Column(name = "`audit_status`")
    @ApiModelProperty(value = "审核状态0-待审核；1-已审核；2-已拒绝", example = "1")
    private Integer auditStatus;
    @Column(name = "`audit_time`")
    @ApiModelProperty(value = "审核时间", example = "2019-05-05 17:55:31")
    private Date auditTime;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "1")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "1")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
